package org.come.control;

import java.util.List;

import org.come.Frame.EverydayRechargeJframe;
import org.come.action.FromServerAction;
import org.come.bean.ChongjipackBean;
import org.come.until.GsonUtil;

import com.google.gson.reflect.TypeToken;

/**
 * 每日充值列表
 * 
 * @author Administrator
 * 
 */
public class PaydaygradepayControl implements FromServerAction {

	@Override
	public void controlMessFromServer(String mes, String type) {
		
		List<ChongjipackBean> chongjipackBeans = GsonUtil.getGsonUtil().getgson().fromJson(mes, new TypeToken<List<ChongjipackBean>>() {
		}.getType());
		EverydayRechargeJframe.getEverydayRechargeJframe().getEverydayRechargeJpanel().showGoods(chongjipackBeans);

	}
}
